<?php

namespace App\Http\Controllers\Api\V1\Queries;

use App\Models\Order;
use Spatie\QueryBuilder\QueryBuilder;

class OrderQuery extends QueryBuilder
{
	public function __construct()
	{
		parent::__construct(Order::query());
		
		$this->allowedIncludes([
			'user',
			'items',
			'items.product',
			'items.sku.product',
		]);
	}
}
